package daily.may0507;

import java.util.ArrayList;

public class ArrayListBasicTest {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(100);
        list.add(200);
        list.add(300);
        System.out.println(list);//[100, 200, 300]
        System.out.println("第三个元素为：" + list.get(2));
    }
}
